package com.standard.englishsong;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class MainActivity extends Activity {

	ImageButton btn1;
	private Context context;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		this.context = getApplicationContext();
		
		
		btn1 = (ImageButton) findViewById(R.id.btnImage);
		btn1.setOnClickListener(btnOnclick);
	}
	
	private OnClickListener btnOnclick = new OnClickListener() {
		
		@Override
		public void onClick(View arg0) {
			// TODO Auto-generated method stub
			
			Intent intent = new Intent(getApplicationContext(),HotMusicActivity.class );
			startActivity(intent);
			
		}
	};

	
}
